package com.kalix.training.message.dao;

import com.kalix.framework.core.impl.dao.GenericDao;
import com.kalix.training.message.api.dao.IMessageBeanDao;
import com.kalix.training.message.entities.MessageBean;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

public class MessageBeanDaoImpl extends GenericDao<MessageBean, Long> implements IMessageBeanDao {
    @Override
    @PersistenceContext(unitName = "training-message-unit")
    public void setEntityManager(EntityManager em) {
        super.setEntityManager(em);
    }
}
